package indi.zhifa.study2024.core.enummemo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(title = "枚举")
public class EnumVo implements IEnumVo {

    @Schema(title = "英文名")
    String code;

    @Schema(title = "中文名")
    String name;

    @Schema(title = "描述")
    String description;

    @Schema(title = "枚举项")
    EnumItemVo[] items;

    @Schema(title = "默认选择")
    Integer defaultIdx;

    @Schema(title = "默认选择描述")
    String defaultItem;

}
